/**
 * @author Jason Tong
 * @date 2019/5/3 16:59.
 */
public class Movement {
    String es="";
    public  String  realizeMove(int n,char c,int key,char a,char b){
        //移动key%26位
        c+=key%26;
        if(c<a) {
            c+=26;
            //向左超界
        }
        if(c>b) {
            c-=26;
            //向右超界
        }
        es+=c;
        return es;
    }
}
